﻿<Window x:Class="MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"      
    Title="FRIDA"  Name="ventana" ResizeMode="CanResize"   WindowStartupLocation="CenterOwner"   ShowInTaskbar="True" Icon="FRIDA.ico"
    StateChanged="Window_StateChanged"  IsVisibleChanged="Window_IsVisibleChanged">

    <Grid Background="Transparent"  RadioButton.Checked="SeleccionDeFuncionalidad" Expander.Expanded="AperturaExpander" Expander.Collapsed="CierreExpander"  >
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto"/>
            <ColumnDefinition Width="*" />
        </Grid.ColumnDefinitions>

        <Border Name="brnPoceso" Grid.Column="0"  BorderThickness="0" BorderBrush="LightGray" Background="WHITE">
            <ScrollViewer VerticalScrollBarVisibility="Auto"  >
                <Grid Name="grdProcesos" Width="180">
                    <Grid.RowDefinitions>
                        <RowDefinition Height="auto"/>
                        <RowDefinition Height="500"/>
                        <RowDefinition Height="auto"/>
                        <RowDefinition Height="auto"/>
                        <RowDefinition Height="auto"/>
                    </Grid.RowDefinitions>

                    <Label Name="lblProceso" Content="Funciones" Grid.Row="0"  HorizontalContentAlignment="Center"  BorderBrush="Coral"    Background="#FF475252"  Foreground="White"  FontSize="16" FontWeight="Bold"  />

                    <ScrollViewer Grid.Row="1" VerticalScrollBarVisibility="Auto"   >
                        <StackPanel >
                            <Expander Name="expFrontOffice"  IsExpanded="False" Visibility="Collapsed"   Margin="6,6,6,6" FontWeight="Bold"  Foreground="Blue"   BorderBrush="gray" BorderThickness="1" FontSize="16" >
                                <Expander.Header>
                                    <TextBlock TextWrapping="Wrap"   >Front Office</TextBlock>
                                </Expander.Header>

                                <StackPanel  Orientation="Vertical" ScrollViewer.CanContentScroll="True">
                                    <RadioButton Grid.Column="0" Grid.Row="0" Style="{StaticResource GlassRadioButtonStyle}" x:Name="rdbgenBsoPs" Height="130" Visibility="Collapsed" IsChecked="False" ToolTip="Generación  BSO y PS"  >
                                        <DockPanel HorizontalAlignment="Center" VerticalAlignment="Top"  Width="{Binding Width, ElementName=grdProcesos}" Height ="{Binding Height, ElementName=rdbFondeoLiq}"  >
                                            <Image Source="/imagenes/altaInc.png" Width="70" Height="70" DockPanel.Dock="top" VerticalAlignment="Top"  />
                                            <TextBlock Text="Generación  BSO y PS" Foreground="Blue" FontWeight="Medium" TextWrapping="Wrap"    HorizontalAlignment="Center" FontSize="20"  DockPanel.Dock="Top" Margin="-10,5"/>
                                        </DockPanel>
                                    </RadioButton>

                                    <RadioButton Grid.Column="0" Grid.Row="0" Style="{StaticResource GlassRadioButtonStyle}" x:Name="rdbDistribLiq" Height="130" Visibility="Collapsed" IsChecked="False" ToolTip="Porvenir" >
                                        <DockPanel HorizontalAlignment="Center" Width="{Binding Width, ElementName=grdProcesos}" Height ="{Binding Height, ElementName=rdbBitacora}" >
                                            <Image Source="/imagenes/cargar.png" Width="70" Height="70" DockPanel.Dock="top" Margin="2" />
                                            <TextBlock Text="Distribución de liquidez" Foreground="Blue" TextWrapping="Wrap"  FontWeight="Medium"  HorizontalAlignment="Center" FontSize="20"  DockPanel.Dock="Top" Margin="2"/>
                                        </DockPanel>
                                    </RadioButton>                                                                        
                                    
                                    <RadioButton Grid.Column="0" Grid.Row="0" Style="{StaticResource GlassRadioButtonStyle}" x:Name="rdbSaldos" Height="110" Visibility="Collapsed" IsChecked="False" ToolTip="Saldos" >
                                        <DockPanel HorizontalAlignment="Center" Width="{Binding Width, ElementName=grdProcesos}" Height ="{Binding Height, ElementName=rdbSaldos}" >
                                            <Image Source="/imagenes/saldos.png" Width="70" Height="70" DockPanel.Dock="top" Margin="2" />
                                            <TextBlock Text="Saldos" Foreground="Blue"  HorizontalAlignment="Center" FontSize="20"  DockPanel.Dock="Top" Margin="2"/>
                                        </DockPanel>
                                    </RadioButton>

                                    <RadioButton Grid.Column="0" Grid.Row="0" Style="{StaticResource GlassRadioButtonStyle}" x:Name="rdbFoliosDec" Height="110" Visibility="Collapsed" IsChecked="False" ToolTip="Bitácora de folios Decalog" >
                                        <DockPanel HorizontalAlignment="Center" Width="{Binding Width, ElementName=grdProcesos}" Height ="{Binding Height, ElementName=rdbFoliosDec}" >
                                            <Image Source="/imagenes/seguimientoPro.png" Width="70" Height="70" DockPanel.Dock="top" Margin="2" />
                                            <TextBlock Text="Folios Decalog" Foreground="Blue"  HorizontalAlignment="Center" FontSize="20"  DockPanel.Dock="Top" Margin="2"/>
                                        </DockPanel>
                                    </RadioButton>

                                    <RadioButton  Style="{StaticResource GlassRadioButtonStyle}" x:Name="rdbReporting" Height="130" Visibility="Collapsed" IsChecked="False" HorizontalContentAlignment="Center" ToolTip="Reporting Bancomer">
                                        <DockPanel HorizontalAlignment="Center"  Width="{Binding Width, ElementName=grdProcesos}" Height ="{Binding Height, ElementName=rdbReporting}" >
                                            <Image Source="/imagenes/Reporting.png" Width="70" Height="70" DockPanel.Dock="top" Margin="2"  />
                                            <TextBlock Text="Reporting Bancomer" Foreground="Blue" TextWrapping="Wrap" HorizontalAlignment="Center" FontSize="20" DockPanel.Dock="Top" Margin="2"/>
                                        </DockPanel>
                                    </RadioButton>

                                    <RadioButton  Style="{StaticResource GlassRadioButtonStyle}" x:Name="rdbBitacoraReporting" Height="150" Visibility="Collapsed" IsChecked="False" HorizontalContentAlignment="Center" ToolTip="Bitácora DECALOG - Reporting Bancomer">
                                        <DockPanel HorizontalAlignment="Center"  Width="{Binding Width, ElementName=grdProcesos}" Height ="{Binding Height, ElementName=rdbBitacoraReporting}" >
                                            <Image Source="/imagenes/Bitacora.png" Width="70" Height="70" DockPanel.Dock="top" Margin="2"  />
                                            <TextBlock Text="Folios Decalog - Reporting Bancomer" Foreground="Blue" TextWrapping="Wrap" HorizontalAlignment="Center" FontSize="19"  DockPanel.Dock="Top" Margin="2"/>
                                        </DockPanel>
                                    </RadioButton>

                                    <RadioButton  Style="{StaticResource GlassRadioButtonStyle}" x:Name="rdbTraspasos" Height="110" Visibility="Collapsed" IsChecked="False" HorizontalContentAlignment="Center" ToolTip="Macro Traspasos">
                                        <DockPanel HorizontalAlignment="Center"  Width="{Binding Width, ElementName=grdProcesos}" Height ="{Binding Height, ElementName=rdbTraspasos}" >
                                            <Image Source="/imagenes/Traspaso.png" Width="70" Height="70" DockPanel.Dock="top" Margin="2"  />
                                            <TextBlock Text="Traspasos" Foreground="Blue"  HorizontalAlignment="Center" FontSize="20"  DockPanel.Dock="Top" Margin="2"/>
                                        </DockPanel>
                                    </RadioButton>

                                    <RadioButton  Style="{StaticResource GlassRadioButtonStyle}" x:Name="rdbBitacoraTraspasos" Height="135" Visibility="Collapsed" IsChecked="False" HorizontalContentAlignment="Center" ToolTip="Bitácora DECALOG - Traspasos">
                                        <DockPanel HorizontalAlignment="Center"  Width="{Binding Width, ElementName=grdProcesos}" Height ="{Binding Height, ElementName=rdbBitacoraTraspasos}" >
                                            <Image Source="/imagenes/log.png" Width="70" Height="70" DockPanel.Dock="top" Margin="2"  />
                                            <TextBlock Text="Folios Decalog - Traspasos" Foreground="Blue" TextWrapping="Wrap" HorizontalAlignment="Center" FontSize="20" DockPanel.Dock="Top" Margin="2"/>
                                        </DockPanel>
                                    </RadioButton>
                                    
                                    
                                    

                                    <RadioButton  Style="{StaticResource GlassRadioButtonStyle}" x:Name="rdbAPIAssetAllocation" Height="135" Visibility="Collapsed" IsChecked="False" HorizontalContentAlignment="Center" ToolTip="Carga masiva órdenes">
                                        <DockPanel HorizontalAlignment="Center"  Width="{Binding Width, ElementName=grdProcesos}" Height ="{Binding Height, ElementName=rdbAPIAssetAllocation}" >
                                            <Image Source="/imagenes/LoadAPIAA.png" Width="70" Height="70" DockPanel.Dock="top" Margin="2"  />
                                            <TextBlock Text="Carga masiva órdenes" Foreground="Blue" TextWrapping="Wrap" HorizontalAlignment="Center" FontSize="20" DockPanel.Dock="Top" Margin="2"/>
                                        </DockPanel>
                                    </RadioButton>

                                    
                                    
                                    
                                    
                                    
                                    <RadioButton  Style="{StaticResource GlassRadioButtonStyle}" x:Name="rdbBitacoraAPIAssetAllocation" Height="135" Visibility="Collapsed" IsChecked="False" HorizontalContentAlignment="Center" ToolTip="Bitácora DECALOG - Carga masiva órdenes">
                                        <DockPanel HorizontalAlignment="Center"  Width="{Binding Width, ElementName=grdProcesos}" Height ="{Binding Height, ElementName=rdbBitacoraAPIAssetAllocation}" >
                                            <Image Source="/imagenes/BitacoraAPIAA.png" Width="70" Height="70" DockPanel.Dock="top" Margin="2"  />
                                            <TextBlock Text="Folios Decalog - Carga masiva órdenes" Foreground="Blue" TextWrapping="Wrap" HorizontalAlignment="Center" FontSize="20" DockPanel.Dock="Top" Margin="2"/>
                                        </DockPanel>
                                    </RadioButton>


                                    <RadioButton  Style="{StaticResource GlassRadioButtonStyle}" x:Name="rdbOrdMarket" Height="135" Visibility="Collapsed" IsChecked="False" HorizontalContentAlignment="Center" ToolTip="Operaciones GxE">
                                        <DockPanel HorizontalAlignment="Center"  Width="{Binding Width, ElementName=grdProcesos}" Height ="{Binding Height, ElementName=rdbOrdMarket}" >
                                            <Image Source="/imagenes/OrdenMarket.png" Width="70" Height="70" DockPanel.Dock="top" Margin="2"  />
                                            <TextBlock Text="Operaciones G x E" Foreground="Blue" TextWrapping="Wrap" HorizontalAlignment="Center" FontSize="20" DockPanel.Dock="Top" Margin="2"/>
                                        </DockPanel>
                                    </RadioButton>

                                    
                                                                        
                                    



                                </StackPanel>
                            </Expander>

                            <Expander Name="expMiddleOffice" IsExpanded="false"  Margin="6,0,6,6"  Visibility="Collapsed"   FontWeight="Bold"  Foreground="blue" BorderBrush="gray" BorderThickness="1" FontSize="16"  >
                                <Expander.Header>
                                    <TextBlock TextWrapping="Wrap" >Middle office</TextBlock>
                                </Expander.Header>
                            </Expander>

                            <Expander Name="expEjecucion" IsExpanded="False"  Margin="6,0,6,6"  Visibility="Collapsed" FontWeight="Bold"  Foreground="blue" BorderBrush="GRAY" BorderThickness="1" FontSize="16" >
                                <Expander.Header>
                                    <TextBlock TextWrapping="Wrap" >Ejecución</TextBlock>
                                </Expander.Header>

                                <StackPanel  Orientation="Vertical" ScrollViewer.CanContentScroll="True" Margin="0">

                                    <RadioButton  Style="{StaticResource GlassRadioButtonStyle}" x:Name="rdbFLDistEnPEJ" Height="135" Visibility="Collapsed" IsChecked="False" HorizontalContentAlignment="Center" ToolTip="Descomposición de las PGL">
                                        <DockPanel HorizontalAlignment="Center"  Width="{Binding Width, ElementName=grdProcesos}" Height ="{Binding Height, ElementName=rdbBitacoraAPIAssetAllocation}" >
                                            <Image Source="/imagenes/DescomposicionPGL.png" Width="70" Height="70" DockPanel.Dock="top" Margin="2"  />
                                            <TextBlock Text="Generación PEJ" TextAlignment="Center"  Foreground="Blue" TextWrapping="Wrap" HorizontalAlignment="Center" FontSize="20" DockPanel.Dock="Top" Margin="2"/>
                                        </DockPanel>
                                    </RadioButton>

                                </StackPanel>






                            </Expander>

                            
                            <Expander Name="expConfiguracion" IsExpanded="False"  Margin="6,0,6,6"  Visibility="Collapsed" FontWeight="Bold"  Foreground="blue" BorderBrush="Gray"  BorderThickness="1" FontSize="16" >
                                <Expander.Header>
                                    <TextBlock TextWrapping="Wrap" >Configuración</TextBlock>
                                </Expander.Header>

                                <StackPanel  Orientation="Vertical" ScrollViewer.CanContentScroll="True" Margin="0">
                                    <RadioButton  Style="{StaticResource GlassRadioButtonStyle}" x:Name="rdbConfigLiq" Height="110" Visibility="Collapsed" IsChecked="False" HorizontalContentAlignment="Center" ToolTip="Administración de la parametrización del flujo de liquidez">
                                        <DockPanel HorizontalAlignment="Center"  Width="{Binding Width, ElementName=grdProcesos}" Height ="{Binding Height, ElementName=rdbConfigLiq}" >
                                            <Image Source="/imagenes/Implementacion.png" Width="70" Height="70" DockPanel.Dock="top" Margin="2"  />
                                            <TextBlock Text="Flujo de liquidez" Foreground="Blue" HorizontalAlignment="Center" FontSize="20"  DockPanel.Dock="Top" Margin="2"/>
                                        </DockPanel>
                                    </RadioButton>

                                    <RadioButton  Style="{StaticResource GlassRadioButtonStyle}" x:Name="rdbConfigCOVAFTLPorvenir" Height="110" Visibility="Collapsed" IsChecked="False" HorizontalContentAlignment="Center" ToolTip="Configuración de catálogos de COVAFTL Porvenir">
                                        <DockPanel HorizontalAlignment="Center"  Width="{Binding Width, ElementName=grdProcesos}" Height ="{Binding Height, ElementName=rdbConfigCOVAFTLPorvenir}" >
                                            <Image Source="/imagenes/catalogo.png" Width="70" Height="70" DockPanel.Dock="top" Margin="2"  />
                                            <TextBlock Text="COVAFTL Porvenir" Foreground="Blue" HorizontalAlignment="Center" FontSize="20"  DockPanel.Dock="Top" Margin="2"/>
                                        </DockPanel>
                                    </RadioButton>

                                    <RadioButton  Style="{StaticResource GlassRadioButtonStyle}" x:Name="rdbConfigReporting" Height="130" Visibility="Collapsed" IsChecked="False" HorizontalContentAlignment="Center" ToolTip="Configuración de catálogos de Reporting Bancomer">
                                        <DockPanel HorizontalAlignment="Center"  Width="{Binding Width, ElementName=grdProcesos}" Height ="{Binding Height, ElementName=rdbConfigReporting}" >
                                            <Image Source="/imagenes/CatalogoDos.png" Width="70" Height="70" DockPanel.Dock="top" Margin="2"  />
                                            <TextBlock Text="Reporting Bancomer" Foreground="Blue" TextWrapping="Wrap" HorizontalAlignment="Center" FontSize="20"  DockPanel.Dock="Top" Margin="2"/>
                                        </DockPanel>
                                    </RadioButton>

                                    <RadioButton  Style="{StaticResource GlassRadioButtonStyle}" x:Name="rdbConfigBench" Height="110" Visibility="Collapsed" IsChecked="False" HorizontalContentAlignment="Center" ToolTip="Configuración Bench">
                                        <DockPanel HorizontalAlignment="Center"  Width="{Binding Width, ElementName=grdProcesos}" Height ="{Binding Height, ElementName=rdbConfigBench}" >
                                            <Image Source="/imagenes/configBench.png" Width="70" Height="70" DockPanel.Dock="top" Margin="2"  />
                                            <TextBlock Text="Nombres Bench" Foreground="Blue" HorizontalAlignment="Center" FontSize="20"  DockPanel.Dock="Top" Margin="2"/>
                                        </DockPanel>
                                    </RadioButton>

                                    <RadioButton  Style="{StaticResource GlassRadioButtonStyle}" x:Name="rdbConfigValmer" Height="110" Visibility="Collapsed" IsChecked="False" HorizontalContentAlignment="Center" ToolTip="Configuración Valmer">
                                        <DockPanel HorizontalAlignment="Center"  Width="{Binding Width, ElementName=grdProcesos}" Height ="{Binding Height, ElementName=rdbConfigValmer}" >
                                            <Image Source="/imagenes/configValmer.png" Width="70" Height="70" DockPanel.Dock="top" Margin="2"  />
                                            <TextBlock Text="Parámetros Valmer" Foreground="Blue" HorizontalAlignment="Center" FontSize="20"  DockPanel.Dock="Top" Margin="2"/>
                                        </DockPanel>
                                    </RadioButton>

                                    <RadioButton  Style="{StaticResource GlassRadioButtonStyle}" x:Name="rdbConfigLI" Height="110" Visibility="Collapsed" IsChecked="False" HorizontalContentAlignment="Center" ToolTip="Configuración LoadInstrument">
                                        <DockPanel HorizontalAlignment="Center"  Width="{Binding Width, ElementName=grdProcesos}" Height ="{Binding Height, ElementName=rdbConfigLI}" >
                                            <Image Source="/imagenes/configLI.png" Width="70" Height="70" DockPanel.Dock="top" Margin="2"  />
                                            <TextBlock Text="Parámetros LI" Foreground="Blue" HorizontalAlignment="Center" FontSize="20"  DockPanel.Dock="Top" Margin="2"   />
                                        </DockPanel>
                                    </RadioButton>

                                    <RadioButton  Style="{StaticResource GlassRadioButtonStyle}" x:Name="rdbConfigTraspasos" Height="110" Visibility="Collapsed" IsChecked="False" HorizontalContentAlignment="Center" ToolTip="Configuración de parámetros de Traspasos">
                                        <DockPanel HorizontalAlignment="Center"  Width="{Binding Width, ElementName=grdProcesos}" Height ="{Binding Height, ElementName=rdbConfigTraspasos}" >
                                            <Image Source="/imagenes/ConfigTraspasos.png" Width="70" Height="70" DockPanel.Dock="top" Margin="2"  />
                                            <TextBlock Text="Traspasos" Foreground="Blue" HorizontalAlignment="Center" FontSize="20"  DockPanel.Dock="Top" Margin="2"/>
                                        </DockPanel>
                                    </RadioButton>

                                    <RadioButton  Style="{StaticResource GlassRadioButtonStyle}" x:Name="rdbConfigCamposValmer" Height="110" Visibility="Collapsed" IsChecked="False" HorizontalContentAlignment="Center" ToolTip="Configuración de los campos para los archivos de Valmer">
                                        <DockPanel HorizontalAlignment="Center"  Width="{Binding Width, ElementName=grdProcesos}" Height ="{Binding Height, ElementName=rdbConfigCamposValmer}" >
                                            <Image Source="/imagenes/CamposValmer.png" Width="70" Height="70" DockPanel.Dock="top" Margin="2"  />
                                            <TextBlock Text="Campos Valmer" Foreground="Blue" HorizontalAlignment="Center" FontSize="20"  DockPanel.Dock="Top" Margin="2"/>
                                        </DockPanel>
                                    </RadioButton>
                                </StackPanel>
                            </Expander>

                            <Expander Name="expAdmin" IsExpanded="False"  Margin="6,0,6,6" IsEnabled="True" Visibility="Collapsed" FontWeight="Bold"  Foreground="blue" BorderBrush="gray" BorderThickness="1" FontSize="16" >
                                <Expander.Header>
                                    <TextBlock TextWrapping="Wrap" >Administración</TextBlock>
                                </Expander.Header>

                                <StackPanel  Orientation="Vertical" ScrollViewer.CanContentScroll="True" Margin="0">


                                    <RadioButton  Style="{StaticResource GlassRadioButtonStyle}" x:Name="rdbMonitorFL" Height="110" Visibility="Collapsed" IsChecked="False" HorizontalContentAlignment="Center" ToolTip="Monitor Flujo de Liquiez">
                                        <DockPanel HorizontalAlignment="Center"  Width="{Binding Width, ElementName=grdProcesos}" Height ="{Binding Height, ElementName=rdbMonitorFL}" >
                                            <Image Source="/imagenes/monitor.png" Width="70" Height="70" DockPanel.Dock="top" Margin="2"  />
                                            <TextBlock Text="Monitor FL" Foreground="Blue"  HorizontalAlignment="Center" FontSize="20"  DockPanel.Dock="Top" Margin="2"/>
                                        </DockPanel>
                                    </RadioButton>

                                    <RadioButton  Style="{StaticResource GlassRadioButtonStyle}" x:Name="rdbCOVAFTL" Height="110" Visibility="Collapsed" IsChecked="False" HorizontalContentAlignment="Center" ToolTip="Macro COVAFTL">
                                        <DockPanel HorizontalAlignment="Center"  Width="{Binding Width, ElementName=grdProcesos}" Height ="{Binding Height, ElementName=rdbConfigLiq}" >
                                            <Image Source="/imagenes/altaPro.png" Width="70" Height="70" DockPanel.Dock="top" Margin="2"  />
                                            <TextBlock Text="COVAFTL" Foreground="Blue" HorizontalAlignment="Center" FontSize="20"  DockPanel.Dock="Top" Margin="2"/>
                                        </DockPanel>
                                    </RadioButton>

                                    <RadioButton  Style="{StaticResource GlassRadioButtonStyle}" x:Name="rdbBitacoraCOVAFTL" Height="135" Visibility="Collapsed" IsChecked="False" HorizontalContentAlignment="Center" ToolTip="Bitácora DECALOG - COVAFTL">
                                        <DockPanel HorizontalAlignment="Center"  Width="{Binding Width, ElementName=grdProcesos}" Height ="{Binding Height, ElementName=rdbBitacoraCOVAFTL}" >
                                            <Image Source="/imagenes/text_log.png" Width="70" Height="70" DockPanel.Dock="top" Margin="2"  />
                                            <TextBlock Text="Folios Decalog - COVAFTL" Foreground="Blue" TextWrapping="Wrap" HorizontalAlignment="Center" FontSize="19"  DockPanel.Dock="Top" Margin="2"/>
                                        </DockPanel>
                                    </RadioButton>

                                    <RadioButton  Style="{StaticResource GlassRadioButtonStyle}" x:Name="rdbCOVAFTLPorvenir" Height="110" Visibility="Collapsed" IsChecked="False" HorizontalContentAlignment="Center" ToolTip="Macro COVAFTL Porvenir">
                                        <DockPanel HorizontalAlignment="Center"  Width="{Binding Width, ElementName=grdProcesos}" Height ="{Binding Height, ElementName=rdbConfigLiq}" >
                                            <Image Source="/imagenes/Propuesta.png" Width="70" Height="70" DockPanel.Dock="top" Margin="2"  />
                                            <TextBlock Text="COVAFTL Porvenir" Foreground="Blue" HorizontalAlignment="Center" FontSize="20"  DockPanel.Dock="Top" Margin="2"/>
                                        </DockPanel>
                                    </RadioButton>

                                    <RadioButton  Style="{StaticResource GlassRadioButtonStyle}" x:Name="rdbBitacoraCOVAFTLPorvenir" Height="135" Visibility="Collapsed" IsChecked="False" HorizontalContentAlignment="Center" ToolTip="Bitácora DECALOG - COVAFTL Porvenir">
                                        <DockPanel HorizontalAlignment="Center"  Width="{Binding Width, ElementName=grdProcesos}" Height ="{Binding Height, ElementName=rdbBitacoraCOVAFTLPorvenir}" >
                                            <Image Source="/imagenes/logporvenir.png" Width="70" Height="70" DockPanel.Dock="top" Margin="2"  />
                                            <TextBlock Text="Folios Decalog - COVAFTL Porvenir" Foreground="Blue" TextWrapping="Wrap" HorizontalAlignment="Center" FontSize="19"  DockPanel.Dock="Top" Margin="2"/>
                                        </DockPanel>
                                    </RadioButton>

                                    <RadioButton  Style="{StaticResource GlassRadioButtonStyle}" x:Name="rdbFactorUDI" Height="110" Visibility="Collapsed" IsChecked="False" HorizontalContentAlignment="Center" ToolTip="Macro Factor UDI">
                                        <DockPanel HorizontalAlignment="Center"  Width="{Binding Width, ElementName=grdProcesos}" Height ="{Binding Height, ElementName=rdbConfigLiq}" >
                                            <Image Source="/imagenes/Area.png" Width="70" Height="70" DockPanel.Dock="top" Margin="2"  />
                                            <TextBlock Text="Factor UDI" Foreground="Blue" HorizontalAlignment="Center" FontSize="20"  DockPanel.Dock="Top" Margin="2"/>
                                        </DockPanel>
                                    </RadioButton>

                                    <RadioButton Grid.Column="0" Grid.Row="0" Style="{StaticResource GlassRadioButtonStyle}" x:Name="rdbValmer" Height="135" Visibility="Collapsed" IsChecked="False" ToolTip="Conciliación de Cupones RF y RV" >
                                        <DockPanel HorizontalAlignment="Center" Width="{Binding Width, ElementName=grdProcesos}" Height ="{Binding Height, ElementName=rdbValmer}" >
                                            <Image Source="/imagenes/Valmer.png" Width="70" Height="70" DockPanel.Dock="top" Margin="2" />
                                            <TextBlock Text="Conciliación de Cupones" Foreground="Blue" TextWrapping="Wrap" HorizontalAlignment="Center" FontSize="20"  DockPanel.Dock="Top" Margin="2"/>
                                        </DockPanel>
                                    </RadioButton>

                                    <RadioButton Grid.Column="0" Grid.Row="0" Style="{StaticResource GlassRadioButtonStyle}" x:Name="rdbCartasDistrib" Height="130" Visibility="Collapsed" IsChecked="False" ToolTip="Cartas de Distribución" >
                                        <DockPanel HorizontalAlignment="Center" Width="{Binding Width, ElementName=grdProcesos}" Height ="{Binding Height, ElementName=rdbCartasDistrib}" >
                                            <Image Source="/imagenes/CartasDistrib.png" Width="70" Height="70" DockPanel.Dock="top" Margin="2" />
                                            <TextBlock Text="Cartas de Distribución" Foreground="Blue" HorizontalAlignment="Center" TextWrapping="Wrap"  FontSize="20"  DockPanel.Dock="Top" Margin="2"/>
                                        </DockPanel>
                                    </RadioButton>

                                    
                                    
                                    <RadioButton Grid.Column="0" Grid.Row="0" Style="{StaticResource GlassRadioButtonStyle}" x:Name="rdbLoadInstrument" Height="110" Visibility="Collapsed" IsChecked="False" ToolTip="LoadInstrument" >
                                        <DockPanel HorizontalAlignment="Center" Width="{Binding Width, ElementName=grdProcesos}" Height ="{Binding Height, ElementName=rdbLoadInstrument}" >
                                            <Image Source="/imagenes/LoadInstrument.png" Width="70" Height="70" DockPanel.Dock="top" Margin="2" />
                                            <TextBlock Text="Load Instrument" Foreground="Blue" HorizontalAlignment="Center" FontSize="20"  DockPanel.Dock="Top" Margin="2"/>
                                        </DockPanel>
                                    </RadioButton>

                                    <RadioButton Grid.Column="0" Grid.Row="0" Style="{StaticResource GlassRadioButtonStyle}" x:Name="rdbBench" Height="110" Visibility="Collapsed" IsChecked="False" ToolTip="Carga Bench" >
                                        <DockPanel HorizontalAlignment="Center" Width="{Binding Width, ElementName=grdProcesos}" Height ="{Binding Height, ElementName=rdbBench}" >
                                            <Image Source="/imagenes/bench.png" Width="70" Height="70" DockPanel.Dock="top" Margin="2" />
                                            <TextBlock Text="Carga Bench" Foreground="Blue" HorizontalAlignment="Center" FontSize="20"  DockPanel.Dock="Top" Margin="2"/>
                                        </DockPanel>
                                    </RadioButton>

                                    <RadioButton Grid.Column="0" Grid.Row="0" Style="{StaticResource GlassRadioButtonStyle}" x:Name="rdbIssuePR" Height="110" Visibility="Collapsed" IsChecked="False" ToolTip="Macro Issue PR" >
                                        <DockPanel HorizontalAlignment="Center" Width="{Binding Width, ElementName=grdProcesos}" Height ="{Binding Height, ElementName=rdbValmer}" >
                                            <Image Source="/imagenes/PR.png" Width="70" Height="70" DockPanel.Dock="top" Margin="2" />
                                            <TextBlock Text="Issue PR" Foreground="Blue" HorizontalAlignment="Center" FontSize="20"  DockPanel.Dock="Top" Margin="2"/>
                                        </DockPanel>
                                    </RadioButton>

                                    <RadioButton Grid.Column="0" Grid.Row="0" Style="{StaticResource GlassRadioButtonStyle}" x:Name="rdbExtraccionFicheros" Height="135" Visibility="Collapsed" IsChecked="False" HorizontalContentAlignment="Center" ToolTip="Extracción de Ficheros">
                                        <DockPanel HorizontalAlignment="Center"  Width="{Binding Width, ElementName=grdProcesos}" Height ="{Binding Height, ElementName=rdbExtraccionFicheros}" >
                                            <Image Source="/imagenes/saldos.png" Width="70" Height="70" DockPanel.Dock="top" Margin="2"  />
                                            <TextBlock Text="Extracción Ficheros" Foreground="Blue" TextWrapping="Wrap" HorizontalAlignment="Center" FontSize="20"  DockPanel.Dock="Top" Margin="2"/>
                                        </DockPanel>
                                    </RadioButton>

                                    <RadioButton Grid.Column="0" Grid.Row="0" Style="{StaticResource GlassRadioButtonStyle}" x:Name="rdbAPICContingencia" Height="135" Visibility="Collapsed" IsChecked="False" HorizontalContentAlignment="Center" ToolTip="APIC Contingencia">
                                        <DockPanel HorizontalAlignment="Center"  Width="{Binding Width, ElementName=grdProcesos}" Height ="{Binding Height, ElementName=rdbAPICContingencia}" >
                                            <Image Source="/imagenes/seguimientoPro.png" Width="70" Height="70" DockPanel.Dock="top" Margin="2"  />
                                            <TextBlock Text="APIC Contingencia" Foreground="Blue" TextWrapping="Wrap" HorizontalAlignment="Center" FontSize="20"  DockPanel.Dock="Top" Margin="2"/>
                                        </DockPanel>
                                    </RadioButton>

                                    <RadioButton Grid.Column="0" Grid.Row="0" Style="{StaticResource GlassRadioButtonStyle}" x:Name="rdbBitacoraAPICContingencia" Height="135" Visibility="Collapsed" IsChecked="False" HorizontalContentAlignment="Center" ToolTip="Bitácora APIC Contingencia">
                                        <DockPanel HorizontalAlignment="Center"  Width="{Binding Width, ElementName=grdProcesos}" Height ="{Binding Height, ElementName=rdbBitacoraAPICContingencia}" >
                                            <Image Source="/imagenes/Bitacora.png" Width="70" Height="70" DockPanel.Dock="top" Margin="2"  />
                                            <TextBlock Text="Bitácora APIC Contingencia" Foreground="Blue" TextWrapping="Wrap" HorizontalAlignment="Center" FontSize="20"  DockPanel.Dock="Top" Margin="2"/>
                                        </DockPanel>
                                    </RadioButton>

                                </StackPanel>
                            </Expander>

                            <Expander Name="expMantenimiento" IsExpanded="False"  Margin="6,0,6,6" IsEnabled="True" Visibility="Collapsed" FontWeight="Bold"  Foreground="blue" BorderBrush="gray" BorderThickness="1" FontSize="16" >
                                <Expander.Header>
                                    <TextBlock TextWrapping="Wrap" >Mantenimiento</TextBlock>
                                </Expander.Header>

                                <StackPanel  Orientation="Vertical" ScrollViewer.CanContentScroll="True" Margin="0">
                                    <RadioButton  Style="{StaticResource GlassRadioButtonStyle}" x:Name="rdbBitacora" Height="130" Visibility="Collapsed" IsChecked="False" ToolTip="Bitácora de operaciones">
                                        <DockPanel HorizontalAlignment="Center" Width="{Binding Width, ElementName=grdProcesos}" Height ="{Binding Height, ElementName=rdbBitacora}" >
                                            <Image Source="/imagenes/datfile.png" Width="70" Height="70" DockPanel.Dock="top" Margin="2" />
                                            <TextBlock Text="Bitácora del sistema" Foreground="Blue" TextWrapping="Wrap" HorizontalAlignment="Center" FontSize="20"  DockPanel.Dock="Top" Margin="2"/>
                                        </DockPanel>
                                    </RadioButton>

                                    <RadioButton  Style="{StaticResource GlassRadioButtonStyle}" x:Name="rdbUsuarios" Height="110" Visibility="Collapsed" IsChecked="False" ToolTip="Alta y modificación de usuarios">
                                        <DockPanel HorizontalAlignment="Center" Width="{Binding Width, ElementName=grdProcesos}" Height ="{Binding Height, ElementName=rdbUsuarios}" >
                                            <Image Source="/imagenes/usuarios.png" Width="70" Height="70" DockPanel.Dock="top" Margin="2" />
                                            <TextBlock Text="Usuarios" Foreground="Blue" HorizontalAlignment="Center" FontSize="20"  DockPanel.Dock="Top" Margin="2"/>
                                        </DockPanel>
                                    </RadioButton>                                   


                                </StackPanel>
                            </Expander>
                        </StackPanel>
                    </ScrollViewer>

                    <Button Name="btnInicio" Grid.Column="0" Grid.Row="2" Width="50" Height="50" DockPanel.Dock="top" Margin="50,20,50,30"  Focusable="True" ToolTip="Inicio" Click="SeleccionDeFuncionalidad">
                        <StackPanel>
                            <Image Source="/imagenes/inicio.png"/>
                        </StackPanel>
                    </Button>
                                        
                    <Label Name="lblFechaHora" Content="00:00:00" Grid.Row="3"  HorizontalContentAlignment="Center"  BorderBrush="Coral"    Background="Transparent"   Foreground="Blue"   FontSize="12" FontWeight="Bold"  />

                    <Image Name="imgProcMasivos" Source="/imagenes/masiva.png" Grid.Column="0" Grid.Row="4" Width="30" Height="30" DockPanel.Dock="top" Margin="20,30,20,20"  Focusable="True"  ToolTip="Masiva Valmer" MouseLeftButtonUp="SeleccionDeFuncionalidad" Visibility="Hidden" />
                </Grid>
            </ScrollViewer>
        </Border>

        <Grid Name="grdFrameDinamico" Grid.Column="1" >
            <Grid.RowDefinitions>
                <RowDefinition Height="auto">
                </RowDefinition>
                <RowDefinition Height="auto"/>
                <RowDefinition Height="228*" />
            </Grid.RowDefinitions>

            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto"></ColumnDefinition>
                <ColumnDefinition></ColumnDefinition>
            </Grid.ColumnDefinitions>

            <StackPanel Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2">
                <StackPanel.Background>
                    <LinearGradientBrush EndPoint="1,0" StartPoint="0,0">
                        <GradientStop Color="#FF475252" Offset="0.1" />
                        <GradientStop Color="#FF656E76" Offset="0.5" />
                        <GradientStop Color="#FFDCE5E5" Offset="1" />
                    </LinearGradientBrush>
                </StackPanel.Background>

                <Grid>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="Auto"></ColumnDefinition>
                        <ColumnDefinition></ColumnDefinition>
                    </Grid.ColumnDefinitions>

                    <Grid.RowDefinitions>
                        <RowDefinition></RowDefinition>
                    </Grid.RowDefinitions>

                    <Label Name="lblPantalla" Content="Inicio" Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2" HorizontalContentAlignment="Center" BorderBrush="Gray" Foreground="WHITE"   FontSize="16" FontWeight="Bold" VerticalAlignment="Top"  />
                    <Label Name="lblNombre" Content="Inicio" Grid.Row="0" Grid.Column="0"  HorizontalContentAlignment="Center"   BorderBrush="Gray"  Foreground="White"  FontSize="16" FontWeight="SemiBold" VerticalAlignment="Top"  />
                </Grid>
            </StackPanel>
            <Frame Name="frmFuncionalidad" Grid.Row="2" Grid.Column="0"  Grid.ColumnSpan="2" Source="pack://application:,,,/Presentacion/Macros/Formas/CInicio.xaml" BorderBrush="Gray" BorderThickness="0" Height="auto" Width="auto" NavigationUIVisibility="Hidden"   JournalOwnership="OwnsJournal" />
        </Grid>
    </Grid>
</Window>
